package com.kalix.dataPlatform.right.dao;

import com.kalix.dataPlatform.right.api.dao.ITwoEquipmentBeanDao;
import com.kalix.dataPlatform.right.entities.TwoEquipmentBean;
import com.kalix.framework.core.impl.dao.GenericDao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.UUID;

public class TwoEquipmentBeanDaoImpl extends GenericDao<TwoEquipmentBean, Long> implements ITwoEquipmentBeanDao {
    private String uuid;
    public TwoEquipmentBeanDaoImpl() {

        uuid = UUID.randomUUID().toString();
    }
    @Override
    @PersistenceContext(unitName = "right-unit")
    public void setEntityManager(EntityManager em) {
        super.setEntityManager(em);
    }
}
